package com.keba.lamp.complaint.service;

import com.keba.basic.base.service.SuperService;
import com.keba.lamp.complaint.entity.Defendant;
import com.keba.lamp.complaint.vo.result.DefendantResultVO;
import com.keba.lamp.complaint.vo.save.DefendantSaveVO;
import com.keba.lamp.complaint.vo.update.DefendantSummarizeUpdateVO;
import com.keba.lamp.complaint.vo.update.DefendantUpdateVO;

import java.util.List;


/**
 * <p>
 * 业务接口
 * 被告信息
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-03-14 22:19:33
 * @create [2025-03-14 22:19:33] [chaowu.wang] [代码生成器生成]
 */
public interface DefendantService extends SuperService<Long, Defendant> {
    void save(List<DefendantSaveVO> defendantList, Long caseId);

    void update(List<DefendantUpdateVO> defendantList, Long caseId);

    List<Defendant> findByCaseId(Long caseId);

    List<DefendantResultVO> getResultByCaseId(Long caseId);
    /**
     * 删除
     *
     * @param ids id
     * @return 是否成功
     */
    Boolean delete(List<Long> ids);

    Boolean deleteByCaseIds(List<Long> caseIds);

    boolean updateSummarizeInfo(DefendantSummarizeUpdateVO defendantSummarizeUpdateVO);
}


